package com.sfx.messagequeue.common.constants;


/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: sfx
 * Date: 2023-08-01
 * Time: 21:31
 */
public class MessageConstants {
    //文件消息,消息格式的长度
    public static final long MESSAGE_LENGTH_FORM = 4;
    //垃圾回收总的消息限制
    public static final long MESSAGE_GC_MAX_LIMIT = 2000;
    //垃圾回收有效消息百分比限制
    public static final double MESSAGE_GC_MAX_RATIO = 0.5;
}